package com.justgame.project.service.just.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.justgame.project.cloud.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
*
* 游戏信息附加资源表
*
* @tableName just_game_addition
* @author Zwb
*/
@Data
@TableName("just_game_addition")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="JustGameAddition对象", description="游戏信息附加资源表")
public class JustGameAddition extends BaseEntity {
    /**
     * 游戏信息
     */
    @ApiModelProperty(value = "游戏信息")
    private Long gameInfoId;

    /**
     * 类型
     */
    @ApiModelProperty(value = "类型")
    private Type type;

    /**
     * 附加资源链接
     */
    @ApiModelProperty(value = "附加资源链接")
    private String url;

    /**
     * 类型 枚举值
     */
    public enum Type{
        /**
         * 图片
         */
        IMAGE,
        /**
         * 视频
         */
        VIDEO
    }

}
